export const constantRoutes = [
  {
    path: '/login',
    component: () => import('@/views/login/index.vue'),
    meta: { title: '登录',hidden:true,icons:'Unlock' }
  },
  {
    path: '/404',
    component: () => import('@/views/404/index.vue'),
    meta: { title: '404',hidden:true,icons:'CircleCheck' }
  },
  {
    path: '/',
    component: () => import('@/layout/index.vue'),
    meta: { title: '首页', hidden: false, icons: 'Unlock' },
    // name:'layout',
    // redirect:'/user',
    children: [
    {
    path: '/user',
    component: () => import('@/views/user/index.vue'),
    meta: { title: '用户', hidden: false,icons:'Unlock' },
    },
    ]
  },
  {
    path: '/setting',
    component: () => import('@/layout/index.vue'),
    meta: { title: '设置', hidden: false, icons: 'Unlock' },
    children: [
    {
    path: '/booking',
    // component: () => import('@/views/booking/index.vue'),
        meta: { title: '书籍', hidden: false,icons:'Unlock' },
        children: [
          {
        path: '/setting/booking/manhau',
        component: () => import('@/views/manhau/index.vue'),
        meta: { title: '漫画', hidden: false,icons:'Unlock' },
          },
           {
        path: '/setting/booking/chengrren',
        component: () => import('@/views/chengrren/index.vue'),
        meta: { title: '成人', hidden: false,icons:'Unlock' },
          }
        ]
     
      },
      {
    path: '/setting/sport',
    component: () => import('@/views/sport/index.vue'),
    meta: { title: ' 运动', hidden: false,icons:'Unlock' },
      }
    ]
  }
]